<?xml version="1.0" encoding="UTF-8"?>
<menu>
<?php 
	foreach ($menu as $type){
?>
	<type id="<?php echo $type['Type']['id']?>" name="<?php echo $type['Type']['type_name']?>">
	<?php 
		foreach ($type['Item'] as $type){
	?>
		<item id="<?php echo $type['id']?>">
			<name><?php echo $type['item_name']?></name>
			<price><?php echo $type['price']?></price>
		</item>
	<?php 
		}
	?>
	</type>
<?php 
	}
?>
</menu>